package com.ipoint.icompany.service;

import java.util.Calendar;
import java.util.TimeZone;

import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Create;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
import org.jboss.seam.annotations.Startup;

@Name("configurationService")
@Scope(ScopeType.APPLICATION)
@Startup
public class ConfigurationService {

	private TimeZone timeZone;

	@Create
	public void initialaze() {
		timeZone = Calendar.getInstance().getTimeZone();
	}

	public TimeZone getTimeZone() {
		return timeZone;
	}

	public void setTimeZone(TimeZone timeZone) {
		this.timeZone = timeZone;
	}

}
